﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
//using System.Data.OracleClient;
using System.Data.OleDb;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;

namespace WAContratos
{
    public class Conexion
    {

        public static OracleConnection Desarrollo
        {
            get
            {
                return new OracleConnection(System.Configuration.ConfigurationManager.ConnectionStrings["desarrollo"].ConnectionString);

            }
        }
        public static OracleConnection Cone
        {
            get
            {
                //return new OracleConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString3"].ConnectionString);
                return new OracleConnection(System.Configuration.ConfigurationManager.ConnectionStrings["desarrollo"].ConnectionString);
                
            }
        }
         public static OracleConnection ConeEeq
        {
            get
            {
                return new OracleConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringEeq"].ConnectionString);
                
            }
        }


        
        public static OleDbConnection Cone1
        {
            get
            {
                return new OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString4"].ConnectionString);

            }
        }
    
    }
}
